<table width="100%" bgcolor="#95CC00">
	<tbody>
		<tr>
			<td>
				<br />
				<br />
				<table width="650" cellspacing="10" cellpadding="15" bgcolor="#efefef" align="center">
					<tbody>
						<tr>
							<td bgcolor="#ffffff">
								<p>
									<a target="_blank" href="http://dietvirut.com">
										<img border="0" alt="Dietvirut" src="http://dietvirut.com/upload/galleries/banners/logo.png" />
									</a>
								</p>
                                <br />
                                <br />
								<p>Xin chào <?php echo $this->name; ?>,</p>
								<p>Bạn vừa mua hàng thành công tại <a target="_blank" href="http://dietvirut.com">http://dietvirut.com</a></p>
                                <p>Mã kích hoạt của bạn là: </p>
                                <table style="width: 100%;">
                                    <thead>
                                        <tr>
                                            <th style="width: 5%;">
                                                STT
                                            </th>
                                            <th style="width: 50%;">
                                                Sản phẩm
                                            </th>
                                            
                                            <th>
                                                Mã kích hoạt
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php $i = 0; ?>
                                        <?php foreach($this->items as $item): ?>
                                        <?php $i ++; ?>
                                            <tr>
                                                <td>
                                                    <?php echo $i; ?>
                                                </td>
                                                
                                                <td>
                                                    <?php echo $item->name; ?>
                                                </td>
                                                
                                                <td>
                                                    <?php echo $item->key; ?>
                                                </td>
                                            </tr>
                                        <?php endforeach; ?>
                                    </tbody>
                                </table>
								<p>
                                    Liên hệ bảo hành:<br />
                                    <a href="http://dietvirut.com/bao-hanh.html" target="_blank">
                                        http://dietvirut.com/bao-hanh.html
                                    </a>
                                </p>
                                <p>
                                    Mọi thắc mắc về sản phẩm xin liên hệ với chúng tôi!<br />
                                    <a href="http://dietvirut.com/lien-he.html" target="_blank">
                                        http://dietvirut.com/lien-he.html
                                    </a>
                                </p>
                                <p>
                                    Dietvirut<br />
                                    Website: <a href="http://dietvirut.com" target="_blank">http://dietvirut.com</a><br />
                                    Email: <a href="mailto:hotro@dietvirut.com" target="_blank">hotro@dietvirut.com</a><br />
                                </p>
							</td>
						</tr>
					</tbody>
				</table>
				<br />
				<br />
			</td>
		</tr>
	</tbody>
</table>